package com.university.logistic.exception.userException;


public enum UserExceptionCode {
    USER_EXCEPTION_UNLOGIN(401,"用户未登录"),
    USER_EXCEPTION_UNAUTHORIZED(40004,"用户无权限"),
    USER_EXCEPTION_UNKNOWN(40005,"未知错误"),
    USER_EXCEPTION_USERNAME_PASSWORD_ERROR(40006,"用户名或密码错误"),
    USER_EXCEPTION_USERNAME_EXIST(40007,"用户名已存在"),
    USER_EXCEPTION_USER_NOT_EXIST(40008,"用户不存在");

    Integer code;
    String message;
    UserExceptionCode(Integer code,String message){
        this.code=code;
        this.message=message;
    }
}
